home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / NETDHCPS.IN_ / netdhcps.inf
Encoding:
INI File  |  2003-03-24  |  9.5 KB  |  255 lines

  1. ;
  2. ; DHCP Server
  3. ;
  4. ; Copyright (c) Microsoft Corporation.  All rights reserved.
  5. ;
  6.  
  7. [Version]
  8.     Signature           =   "$Windows NT$"
  9.     Class               =   NetService
  10.     ClassGUID           =   {4D36E974-E325-11CE-BFC1-08002BE10318}
  11.     Provider            =   %Msft%
  12.     LayoutFile          =   layout.inf
  13. DriverVer=10/01/2002,5.2.3790.0
  14.  
  15. [Manufacturer]
  16.     %Msft%              =   MSFT
  17.  
  18. [MSFT]
  19. %DHCPServer_SCM_Display%=DHCPServer.Ndi, MS_DHCPServer
  20.  
  21. [ControlFlags]
  22.     ExcludeFromSelect   =   MS_DHCPServer
  23.  
  24. [DHCPServer.Ndi]
  25.     CopyFiles               = CpyFiles_Sys,CpyFiles_Sys_Console
  26.     AddReg                  = DHCPServer.Ndi.AddReg
  27.     Characteristics         = 0x10028 ; NCF_FORCE_SCM_NOTIFY | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  28.     RegisterDlls            = DHCPServer.Ndi.Register
  29.     ProfileItems            = DHCP.Shortcut.Add, DHCP.Old.Shortcut.Remove, DHCP.Really.Old.Shortcut.Remove
  30.  
  31. [DHCPServer.Ndi.Remove]
  32.     DelReg                  = DHCPServer.DelReg
  33.     UnregisterDlls          = DHCPServer.Unregister
  34.     ProfileItems            = DHCP.Shortcut.Remove
  35.  
  36. [DHCPServer.Ndi.Services]
  37.     0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  38.     AddService = DHCPServer, 0x10,   DHCPServer_Service_Inst,    DHCPServer_Evt
  39.  
  40. [DHCPServer.Ndi.Remove.Services]
  41.     DelService = DHCPServer
  42.  
  43. [DHCPServer.Ndi.Register]
  44. 11,, dhcpsnap.dll, 1
  45. 11,, lodctr.exe, 1,,"dhcpctrs.ini"
  46.  
  47. [DHCPServer.Unregister]
  48. 11,, dhcpsnap.dll, 1
  49. 11,, unlodctr.exe, 1,,"DHCPServer"
  50.  
  51.  
  52. ; SNMP Agent stuff
  53. ;
  54.  
  55. [DHCPServer.Ndi.SNMPAgent]
  56.     AddAgent    = DHCPServer.Ndi.Install.AddSNMPAgent
  57.  
  58. [DHCPServer.Ndi.Remove.SNMPAgent]
  59.     DelAgent    = DHCPServer.Ndi.Remove.DelSNMPAgent
  60.  
  61. [DHCPServer.Ndi.Install.AddSNMPAgent]
  62.     ServiceName = "DHCPServer"
  63.     AgentName   = "DHCPMibAgent"
  64.     AgentPath   = "%SystemRoot%\System32\dhcpmib.dll"
  65.  
  66. [DHCPServer.Ndi.Remove.DelSNMPAgent]
  67.     AgentName   = "DHCPMibAgent"
  68.  
  69. ;
  70. ; Administrative Tools shortcut
  71. ;
  72. [DHCP.Shortcut.Add]
  73. Name        = %DHCPServer_Admin_SC_Desc%
  74. CmdLine     = 11,,"dhcpmgmt.msc /s"
  75. IconPath    = 11,, dhcpsnap.dll
  76. IconIndex   = 0
  77. SubDir      = %DHCPServer_Admin_SC_Group_Name%
  78. InfoTip     = %DHCPServer_Admin_SC_HelpText%
  79.  
  80. [DHCP.Shortcut.Remove]
  81. Name = %DHCPServer_Admin_SC_Desc%, 0x2
  82. SubDir = %DHCPServer_Admin_SC_Group_Name%
  83.  
  84. ; NT 4.0 Shortcut
  85. [DHCP.Old.Shortcut.Remove]
  86. Name = %DHCPServer_Old_Admin_Sc_Desc%, 0x2
  87. SubDir = %DHCPServer_Old_Admin_Sc_Group_Name%
  88.  
  89. ; NT 3.51 Shortcut
  90. [DHCP.Really.Old.Shortcut.Remove]
  91. Name = %DHCPServer_Really_Old_Admin_Sc_Desc%, 0x2
  92. SubDir = %DHCPServer_Really_Old_Admin_Sc_Group_Name%
  93.  
  94. ; Service Install Sections
  95. ;
  96.  
  97. [DHCPServer.Ndi.AddReg]
  98. ; NDI install registry keys
  99.     HKR,"Ndi",              "ClsID",,                                   "{aa9bb1e0-9fe2-11d0-b257-00c04fc9e292}"
  100.     HKR,"Ndi",              "Service",,                                 "DHCPServer"
  101.     HKR,"Ndi",              "CoServices",               %REG_MULTI_SZ%, "DHCPServer"
  102.     HKR,"Ndi",              "HelpText",,                                "%DHCPServer_HELP%"
  103.     HKR,"Ndi",              "ExcludeSetupStartServices",%REG_MULTI_SZ%, "DHCPServer"
  104.     HKR,"Ndi\Interfaces",   "UpperRange",,                              "noupper"
  105.     HKR,"Ndi\Interfaces",   "LowerRange",,                              "nolower"
  106.  
  107. ; For Computer management snapin extension
  108. HKLM,"SYSTEM\CurrentControlSet\Control\Server Applications", "{524CCE97-A886-11D0-AB86-00C04FC3357A}",, "DHCP"
  109.  
  110. [DestinationDirs]
  111.     CpyFiles_Sys            = 11            ;windir\System32
  112.     CpyFiles_Sys_Console    = 11            ;windir\System32
  113.  
  114. [CpyFiles_Sys]
  115.     dhcpmgmt.msc    ,,, 2
  116.     dhcpmib.dll     ,,, 2
  117.     dhcpsnap.dll    ,,, 2
  118.     dhcpssvc.dll    ,,, 2
  119.     binlsvc.dll     ,,, 2
  120.     dhcpctrs.ini    ,,, 2
  121.     dhcpctrs.h      ,,, 2
  122.  
  123. [CpyFiles_Sys_Console]
  124.     jetpack.exe     ,,, 2
  125.  
  126. [CpyFiles_Sys_Console.Security]
  127. "D:P(A;;GRGX;;;IU)(A;;GRGX;;;SU)(A;;GRGX;;;S-1-5-3)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;CO)"
  128.  
  129. ; Service Install Sections
  130. ;
  131.  
  132. [DHCPServer_Service_Inst]
  133.     DisplayName     = %DHCPServer_SCM_Display%
  134.     ServiceType     = %SERVICE_WIN32_SHARE_PROCESS%
  135.     StartType       = %SERVICE_AUTO_START%
  136.     ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
  137.     ServiceBinary   = %11%\tcpsvcs.exe
  138.     StartName       = LocalSystem
  139.     AddReg          = DHCPServer_Service.AddReg
  140.     Dependencies    = RpcSs, Tcpip, SamSs, EventLog, EventSystem
  141.     Description     = %DHCPServer_SCM_Desc%
  142.  
  143. [DHCPServer_Service.AddReg]
  144. ; Performance counter info
  145.     HKR,"Performance",  "Library",                  ,                   "perfctrs.dll"
  146.     HKR,"Performance",  "Open",                     ,                   "OpenDhcpPerformanceData"
  147.     HKR,"Performance",  "Close",                    ,                   "CloseDhcpPerformanceData"
  148.     HKR,"Performance",  "Collect",                  ,                   "CollectDhcpPerformanceData"
  149.  
  150. ; Parameters Flags
  151.     HKR,"Parameters",   "APIProtocolSupport",       %REG_DWORD%,                5
  152.     HKR,"Parameters",   "BackupDatabasePath",       0x20002,                    "%%SystemRoot%%\System32\dhcp\backup"
  153.     HKR,"Parameters",   "BackupInterval",           %REG_DWORD%,                60
  154.     HKR,"Parameters",   "DatabaseCleanupInterval",  %REG_DWORD%,                60 
  155.     HKR,"Parameters",   "DatabaseLoggingFlag",      %REG_DWORD%,                1
  156.     HKR,"Parameters",   "DatabaseName",             %REG_SZ%,                   "dhcp.mdb"
  157.     HKR,"Parameters",   "DatabasePath",             0x20002,                    "%%SystemRoot%%\System32\dhcp"
  158.     HKR,"Parameters",   "DebugFlag",                %REG_DWORD%,                0
  159.     HKR,"Parameters",   "RestoreFlag",              %REG_DWORD%,                0
  160.     HKR,"Parameters",   "DhcpLogFilesMaxSize",      %REG_DWORD%,                70
  161.  
  162.     HKR,"Parameters\MultiHomeInfo",,                %FLG_ADDREG_KEYONLY%
  163.     HKR,"Parameters\Configuration",,                %FLG_ADDREG_KEYONLY%
  164.  
  165. [DHCPServer_Evt]
  166.     AddReg = DHCPServer_Evt_AddReg
  167.  
  168. [DHCPServer_Evt_Addreg]
  169.     HKR,, EventMessageFile,     %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\dhcpssvc.dll"
  170.     HKR,, ParameterMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\kernel32.dll"
  171.     HKR,, TypesSupported,       %REG_DWORD%,        7
  172.  
  173. [DHCPServer_Unattend]
  174.     AddReg = DHCPServer_Unattend_Addreg
  175.  
  176. [DHCPServer_Unattend_Addreg]
  177.     HKR,"Configuration",,                           %FLG_ADDREG_KEYONLY%
  178.  
  179. ;
  180. ; Service uninstall
  181. ;
  182. [DHCPServer.DelReg]
  183. ; For Computer management snapin extension
  184. HKLM,"SYSTEM\CurrentControlSet\Control\Server Applications", "{524CCE97-A886-11D0-AB86-00C04FC3357A}",, "DHCP"
  185. HKLM,"Software\Microsoft\DHCPServer"
  186.  
  187.  
  188.  
  189. [Strings]
  190. Msft                        = "Microsoft"
  191. DHCPServer_SCM_Display      = "DHCP Server"
  192. DHCPServer_SCM_Desc         = "Performs TCP/IP configuration for DHCP clients, including dynamic assignments of IP addresses, specification of the WINS and DNS servers, and connection-specific DNS names. If this service is stopped, the DHCP server will not perform TCP/IP configuration for clients. If this service is disabled, any services that explicitly depend on it will fail to start."
  193. DHCPServer_Help             = "Automatically assigns IP addresses to other computers running the DHCP (Dynamic Host Configuration Protocol) Client Service."
  194.  
  195. ; Shortcuts
  196. DHCPServer_Admin_SC_Desc            = "DHCP"
  197. DHCPServer_Admin_SC_Group_Name      = "Administrative Tools"
  198. DHCPServer_Admin_SC_HelpText        = "Use DHCP to configure and manage the Dynamic Host Configuration Protocol (DHCP) service."
  199.  
  200. ; Note to localizers: Please make sure this is the same description used in NT 4.0
  201. DHCPServer_Old_Admin_Sc_Desc        = "DHCP Manager"
  202. DHCPServer_Old_Admin_Sc_Group_Name  = "Administrative Tools"
  203.  
  204. ; Note to localizers: Please make sure this is the same description used in NT 3.51
  205. DHCPServer_Really_Old_Admin_Sc_Desc        = "DHCP Manager"
  206. DHCPServer_Really_Old_Admin_Sc_Group_Name  = "Network Administration"
  207.  
  208. ; ServiceType values
  209. SERVICE_KERNEL_DRIVER               = 0x00000001
  210. SERVICE_FILE_SYSTEM_DRIVER          = 0x00000002
  211. SERVICE_ADAPTER                     = 0x00000004
  212. SERVICE_RECOGNIZER_DRIVER           = 0x00000008
  213. SERVICE_WIN32_OWN_PROCESS           = 0x00000010
  214. SERVICE_WIN32_SHARE_PROCESS         = 0x00000020
  215. SERVICE_INTERACTIVE_PROCESS         = 0x00000100
  216. SERVICE_INTERACTIVE_SHARE_PROCESS   = 0x00000120
  217.  
  218. ; Some standard defines
  219. REG_MULTI_SZ                = 0x10000
  220. REG_EXPAND_SZ               = 0x20000
  221. REG_DWORD                   = 0x10001
  222. REG_BIN                     = 0x00001
  223. REG_NOCLOBBER               = 0x00020
  224. REG_MULTI_SZ_NOCLOBBER      = 0x10020
  225. REG_EXPAND_SZ_NOCLOBBER     = 0x20020
  226. REG_DWORD_NOCLOBBER         = 0x10021
  227. REG_BIN_NOCLOBBER           = 0x00021
  228. FLG_ADDREG_KEYONLY          = 0x0010
  229.  
  230. ; StartType values
  231. SERVICE_BOOT_START          = 0x00000000
  232. SERVICE_SYSTEM_START        = 0x00000001
  233. SERVICE_AUTO_START          = 0x00000002
  234. SERVICE_DEMAND_START        = 0x00000003
  235. SERVICE_DISABLED            = 0x00000004
  236.  
  237. ; ErrorControl values
  238. SERVICE_ERROR_IGNORE        = 0x00000000
  239. SERVICE_ERROR_NORMAL        = 0x00000001
  240. SERVICE_ERROR_SEVERE        = 0x00000002
  241. SERVICE_ERROR_CRITICAL      = 0x00000003
  242.  
  243. ; Characteristic flags
  244. NCF_VIRTUAL                 = 0x0001
  245. NCF_WRAPPER                 = 0x0002
  246. NCF_PHYSICAL                = 0x0004
  247. NCF_HIDDEN                  = 0x0008
  248. NCF_NO_SERVICE              = 0x0010
  249. NCF_NOT_USER_REMOVABLE      = 0x0020
  250. NCF_HAS_UI                  = 0x0080
  251. NCF_MODEM                   = 0x0100
  252.  
  253.  
  254.  
  255.